package com.nbc.car.biz.entity;

import java.util.Date;
import java.util.List;

/**
 * Created by yp-bp-m-7046 on 16/7/19.
 */
public class Car {
    /**
    主键id
     */
    private long carId;
    /**
    车辆属主id 外键
     */
    private long userId;
    /**
    车品牌
     */
    private String carBrand;
    /**
    车型号
     */
    private String carType;
    /**
    创建时间
     */
    private Date createTime;
    /**
    车辆照片
     */
    private List<Photo> photos;

    public long getCarId() {
        return carId;
    }

    public void setCarId(long carId) {
        this.carId = carId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<Photo> getPhotos() {
        return photos;
    }

    public void setPhotos(List<Photo> photos) {
        this.photos = photos;
    }
}
